package  
{
	import net.flashpunk.Sfx;
	/**
	 * ...
	 * @author Donatello
	 */
	public class Music2 
	{
		// Music - static
		[Embed(source = "sfx/Bach - Matthaeus Passion.mp3")] private static const music_song:Class;
		public static var background_music:Sfx = new Sfx(music_song);
		
		public function Music2() 
		{
			
			
		}
		
		public function play():void
		{
			background_music.loop();
		}
		
		public function stop():void
		{
				background_music.stop();
		}
		
		
		public function isPlaying():Boolean
		{
			return background_music.playing;
		}
		
		public function changeVolume(v:Number):void
		{
				
			background_music.volume = v;
		}
		
	}

}